package tech.yixiyun.framework.kuafu.bean;

/**
 * Bean相关异常
 */
public class BeanException extends RuntimeException {

    public BeanException(String msg) {
        super(msg);
    }

    public BeanException(String msg, Throwable cause) {
        super(msg, cause.getCause() == null ? cause : cause.getCause());
    }

    public BeanException(Throwable cause) {
        super(cause.getCause() == null ? cause : cause.getCause());
    }


}
